package teacher.action.student;

import teacher.bean.Stuaward;
import teacher.service.student;

import com.opensymphony.xwork2.ActionSupport;

public class oneStuAwa extends ActionSupport{
	
	private static final long serialVersionUID = 1L;
	private int awaId;
	private Stuaward stuAwa=new Stuaward();

	public int getAwaId() {
		return awaId;
	}

	public void setAwaId(int awaId) {
		this.awaId = awaId;
	}

	public Stuaward getStuAwa() {
		return stuAwa;
	}

	public void setStuAwa(Stuaward stuAwa) {
		this.stuAwa = stuAwa;
	}

	public String execute() throws Exception{
		
		Stuaward sa=new Stuaward();
		sa.setStuawaId(awaId);
		stuAwa=new student().selectAwaById(sa);
		return SUCCESS;
		
	}

}